<?php 

require ('../include/web.init.inc.php');
extract ( $_GET);
header("Content-type: application/json");
$module_id = Ask::acceptReply ( $replyId );


$ask = Ask::getReplyById($replyId);

TbMessage::addLawerMessage($ask["lawer_id"],"你的回答的咨询问题已被客户采纳，快去看看吧。","咨询回复",$ask["ask_id"]);

// if($user_info){
$ret = json_encode(array("code"=>1,"data"=>array('a' => 1)));
// }else{
// 	$ret = json_encode(array("code"=>0,"msg"=>"用户名密码错误"));
// }

echo $ret;